import * as dayjs from 'dayjs'
import utc from 'dayjs/plugin/utc'
dayjs.extend(utc)
export const UTCDateFormat = (
  UTCString: string,
  format = 'YYYY/MM/DD hh:mm:ss'
) => {
  const resultDate = dayjs.utc(UTCString).utcOffset(8).format(format)
  return resultDate
}
